aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-26 11:34:05 -0700
committerAdam Soltys <[email protected]>2022-09-26 11:34:05 -0700
commit7881ecd6a4fcbb820ee1607f1e7f6fcc3ce15dfe (patch)
treeee412893ed38e042714ae53400074c0f3714193f /src/routes/[username]
parentb195948670ec57c14cf51b92839a57b8f34c9194 (diff)
downloadcoinos-ui-7881ecd6a4fcbb820ee1607f1e7f6fcc3ce15dfe.tar.gz
coinos-ui-7881ecd6a4fcbb820ee1607f1e7f6fcc3ce15dfe.zip
use invoice uuid
Diffstat (limited to 'src/routes/[username]')
-rw-r--r--src/routes/[username]/receive/+page.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/[username]/receive/+page.svelte b/src/routes/[username]/receive/+page.svelte
index f10e0426..17b59f1f 100644
--- a/src/routes/[username]/receive/+page.svelte
+++ b/src/routes/[username]/receive/+page.svelte
@@ -75,12 +75,12 @@
let submit = async () => {
loading = true;
- let { id } = await post('/invoice', {
+ let { uuid } = await post('/invoice', {
amount,
rate: $selectedRate,
username: $page.params.username
});
- goto(`/invoice/${id}`);
+ goto(`/invoice/${uuid}`);
};
</script>